package com.yuyou.fn.crm.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.common.util.Principals;
import com.yuyou.fn.crm.entity.CustomerResource;
import com.yuyou.fn.crm.entity.MarketImport;
import com.yuyou.fn.crm.vo.ImportCustomerResourceVo;
import com.yuyou.fn.crm.vo.MarketImportQueryVo;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.List;

/**
 *
 * MarketImport 表数据服务层接口
 *
 */
public interface IMarketImportService extends ISuperService<MarketImport,Long> {


    void importCustomerResource(Long areaTeamId,Long departmentId, List<ImportCustomerResourceVo> importCustomerResourceVos, Principals.Principal principal);

    Page<MarketImport> findMarketImportByQuery(MarketImportQueryVo query, int pageNo, int pageSize);

    List<CustomerResource> findImportDetailByMarketImportId(Long marketImportId);

}